<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>WeUI</title>
    <link rel="stylesheet" href="https://rawgit.com/weui/weui/master/dist/style/weui.css"/>
    <link rel="stylesheet" href="/Application/Weiserver/View/Public/css/example.css"/>
</head>
<body ontouchstart>
<div class="container js_container">
    <div class="page">
        <div class="hd">
            <h1 class="page_title">WeUI</h1>
            <p class="page_desc">为微信Web服务量身设计</p>
        </div>
        <div class="bd">
            <div class="weui_cells weui_cells_access global_navs">
            	<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a class="weui_cell js_cell" href="javascript:;" data-id="tpl<?php echo ($vo["id"]); ?>">
	                    <span class="weui_cell_hd"><img src="/Application/Weiserver/View/Public/img/icon_nav_button.png" class="icon_nav" alt=""></span>
	                    <div class="weui_cell_bd weui_cell_primary">
	                        <p><?php echo ($vo["title"]); ?></p>
	                    </div>
	                    <div class="weui_cell_ft">
	                    </div>
	                </a><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
    </div>
</div>
<?php if(is_array($scriptarticle)): $i = 0; $__LIST__ = $scriptarticle;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><script type="text/html" id="tpl_tpl<?php echo ($vo["id"]); ?>">
	    <div class="page article">
	        <div class="hd">
	            <h1 class="page_title"><?php echo ($vo["title"]); ?></h1>
	        </div>
	        <div class="bd">
	            <article class="weui_article">
	            	<?php if(is_array($vo["content"])): $k = 0; $__LIST__ = $vo["content"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vol): $mod = ($k % 2 );++$k;?><section>
		                    <h2 class="title"><?php echo ($k); ?>. <?php echo ($vol["title"]); ?></h2>
		                    <?php if(is_array($vol["content"])): $i = 0; $__LIST__ = $vol["content"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volue): $mod = ($i % 2 );++$i;?><section>
			                        <h3><?php echo ($k); ?>.<?php echo ($i); ?> <?php echo ($volue["title"]); ?></h3>
			                        <p><?php echo ($volue["content"]); ?></p>
			                    </section><?php endforeach; endif; else: echo "" ;endif; ?>
		                </section><?php endforeach; endif; else: echo "" ;endif; ?>
	            </article>
	        </div>
	    </div>
	</script><?php endforeach; endif; else: echo "" ;endif; ?>
<?php if(is_array($scriptlist)): $i = 0; $__LIST__ = $scriptlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><script type="text/html" id="tpl_user">
	    <div class="page">
	        <div class="hd">
	            <div style="width:80px;height:80px;margin-left:auto;margin-right:auto;border-radius:50% 50% 50% 50%;background-position:50% 50%;background-size:cover;background-repeat:no-repeat;background: url(<?php echo ($headimgurl); ?>);"></div>
	        </div>
	        <div class="bd">
	            
	        </div>
	    </div>
	</script><?php endforeach; endif; else: echo "" ;endif; ?>

<script src="/Application/Weiserver/View/Public/js/zepto.min.js"></script>
<script src="/Application/Weiserver/View/Public/js/example.js"></script>
</body>
</html>